//
//  WWCollectionViewHeaderCell.m
//  WWCollectionView
//
//  Created by WeiWei on 15/11/3.
//  Copyright © 2015年 WeiWei. All rights reserved.
//

#import "WWCollectionViewHeaderCell.h"
#import "PublicHeader.h"

@implementation WWCollectionViewHeaderCell

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        [self NightWithType:UIViewColorTypeNormal];
        _wwHeaderLabel = [[UILabel alloc] init];
        [self.contentView addSubview:_wwHeaderLabel];
        self.frame = CGRectMake(0, 0, self.contentView.frame.size.width, FitConstant_YorHeight(10));
        [self.wwHeaderLabel NightWithType:UIViewColorTypeClear];
    }
    return self;
}

- (void)layoutSubviews {
    [super layoutSubviews];
    _wwHeaderLabel.frame = CGRectMake(0, 0, self.contentView.frame.size.width, FitConstant_YorHeight(10));
}

@end
